package com.wisdytech.ccdserver.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author sunjinxin
 * @date 2024/3/28
 */
@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "bucket")
public class BucketConfig {
    /**
     *访问密钥
     */
    private String accessKey;

    /**
     *安全密钥
     */
    private String secretKey;

    /**
     *下载地址
     */
    private String endPoint;

    /**
     *根路径
     */
    private String rootUrl;

    /**
     * 存储桶名称
     */
    private String bucketName;

    private int limitNum;

    private String test;

}
